#!/bin/sh

# message_transformer
gnome-terminal --tab -t "roscore" -e "bash -c 'roscore;'" --tab -t "set zero" -e "bash -c 'cd ~/jetson_datasave; python serial_command.py /dev/ttyUSB0 -p 3.1415926;'"

sleep 5

gnome-terminal --tab -t "IMU" -e "bash -c 'roslaunch wit_ros_imu wit_imu.launch port:=/dev/ttyUSB1;'" --tab -t "camera" -e "bash -c 'roslaunch usb_cam camera_topic.launch;'" --tab -t "encoder_data" -e "bash -c 'python ~/jetson_datasave/encoder_ros.py /dev/ttyUSB0;'" 
